package com.dal.rpc.core.annotation;



import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 消费者扫描注解
 */

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface RpcReference {
    /**
     * 服务名称
     * @return
     */
    String providerName();

    //String value() default "";

}
